{% extends "master.html" %}
{% load humanize %}

{% block body %}
{% block list_header %}{% endblock %}
{% if issues %}
	<table class="doclist" width="100%" cellspacing="0" cellpadding="3" border="0"><tbody>
		<tr class="person_day3" valign="top">
			<td width="5px"><b>#</b></td>
			<td width="40px" align="center">作者</td>
			<td width="15px" align="center">日期</td>
			<td align="center">小结</td>
			<td align="center">安排</td>
			<td width="70px" align="center">操作</td>
		</tr>
		{% for issue in issues %}
		<tr valign="top" onmouseout="this.style.backgroundColor='#f8f8f0'" onmouseover="this.style.backgroundColor='#ffc900'" style="background-color: rgb(248, 248, 240);" class="tally_data_1">
			<td width="5px" class="app listLine"><font color="#000000"><b>{{forloop.counter|ordinal}}</b></font></td>
			<td width="40px" align="center" class="app listLine"><font color="#000000">{{issue.create_by.first_name}} {{issue.create_by.last_name}}</font></td>
			<td width="15px" align="center" class="app listLine"><font color="#000000">{{ issue.create_at.date|date:"y/m/d" }}</font></td>
			<td class="app listLine" title="点击查看" onclick="view_dlog_item({{issue.id}});return false;"><font color="#000000">{{ issue.content|slice:":80" }}</font></td>
			<td class="app listLine" title="点击查看" onclick="view_dlog_item({{issue.id}});return false;"><font color="#000000">{{ issue.plan|slice:":80" }}</font></td>
			<td width="70px" align="center" class="app listLine"><font color="#000000"/><a href="/dlog/modify/{{issue.id}}" title="修改">修改</a> | <a href="/dlog/delete/{{issue.id}}" title="删除">删除</a></td>
		</tr>
		{% endfor %}
	</tbody></table>
{% else %}
	没有日志存在。
{% endif %}
{% block list_footer %}{% endblock %}
{% endblock %}
